<html>
	<head>
    <title>CXMLElement Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../assets/styles/default.css" />
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
		<script type="text/javascript" src="../assets/scripts/base.js"></script>
	</head>
	<body id="content">
		<h1>CXMLElement Class Reference</h1>
		<p>The CXMLElement class defines an XML element in the TouchXML library.</p>
		<p>Inherits from CXMLNode*</p>

    <h2>Instance Methods</h2>
    
    <h3 id="elementsForName:">elementsForName:</h3>
    <p>Returns an array of elements by name.</p>
    <code>- (NSArray *)elementsForName:(NSString *)name</code>
    <h4>Parameters</h4>
    <dl>
      <dt>name</dt>
      <dd>The name of the elements to retrieve.</dd>
    </dl>
    
    <h3 id="attributes">attributes</h3>
    <p>Returns an array of the element's attributes.</p>
    <code>- (NSArray *)attributes</code>
    
    <h3 id="attributeForName:">attributeForName:</h3>
    <p>Retrieves an attribute by name.</p>
    <code>- (CXMLNode *)attributeForName:(NSString *)name</code>
    <h4>Parameters</h4>
    <dl>
      <dt>name</dt>
      <dd>The name of the attribute to retrieve.</dd>
    </dl>
    
    <h3 id="_XMLStringWithOptions:appendingToString:">_XMLStringWithOptions:appendingToString:</h3>
    <p>Outputs the XML string of the element.</p>
    <code>- (NSString*)_XMLStringWithOptions:(NSUInteger)options appendingToString:(NSMutableString*)str</code>
    <h4>Parameters</h4>
    <dl>
      <dt>options</dt>
      <dd>Declares options for outputting the XML.</dd>
      <dt>str</dt>
      <dd>The string to which the XML is appended.</dd>
    </dl>
    
  </body>
</html>